-
Home
-
Yoast SEO – Advanced SEO with real-time guidance and built-in AI
-
19.1
-
Code
-
Classes
- Indexable_Hierarchy_Builder
| Total Complexity |
51 |
| Dependencies |
8 |
| Dependents |
5 |
| Total lines |
381 |
| Lines of code |
170 |
| Logical lines of code |
112 |
| Comment lines |
142 |
| Methods |
13 |
| Properties |
6 |
Methods 13
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| find_deepest_term_id() |
A |
49 |
10 |
31 |
| find_primary_term_id_for_post() |
A |
55 |
8 |
18 |
| add_ancestors_for_post() |
S |
52 |
7 |
25 |
| build() |
S |
55 |
5 |
20 |
| is_invalid_ancestor() |
S |
58 |
5 |
16 |
| save_ancestors() |
S |
63 |
3 |
11 |
| add_ancestors_for_term() |
S |
62 |
3 |
11 |
| hierarchy_is_built() |
S |
68 |
2 |
7 |
| get_term_parents() |
S |
65 |
2 |
9 |
| get_indexable_id() |
S |
71 |
2 |
6 |
| get_primary_term_id() |
S |
67 |
2 |
7 |
| __construct() |
S |
71 |
1 |
6 |
| set_indexable_repository() |
S |
81 |
1 |
3 |